<?php

$hash = '752cf1fd0418ee518a7939fe99ffc53f';

?>
<form method="post" action="">
    <table width="100%" cellspacing="0">
        <tr>
            <th colspan="1"><?php echo ( isset( $this->vars['l_register'] ) ) ? $this->vars['l_register'] : ''; ?></th>
        </tr>
        <tr>
            <td class="ex_sh border_right border_left" colspan="1"><?php echo ( isset( $this->vars['l_main_acc_info'] ) ) ? $this->vars['l_main_acc_info'] : ''; ?></td>
        </tr>
        <tr>
            <td style="padding: 8px;font-size: 11px;" class="border_left border_right">
                <?php if( $this->if_states['errors'] == 1 ) { unset( $this->if_states['errors'] ); ?>
                <div id="error">
                    <div class="errorHead"><?php echo ( isset( $this->vars['l_error_occured'] ) ) ? $this->vars['l_error_occured'] : ''; ?></div>
                    <div class="errorBody"><?php echo ( isset( $this->vars['error_message'] ) ) ? $this->vars['error_message'] : ''; ?></div>
                </div>
                <div class="spacer"></div>
                <?php } ?>
                <div style="padding: 2px;">
                    <span style="display: inline-table;width: 200px;"><?php echo ( isset( $this->vars['l_username'] ) ) ? $this->vars['l_username'] : ''; ?>:</span>
                    <span style="display: inline-table;"><input class="reg" type="text" name="username" value="<?php echo ( isset( $this->vars['username'] ) ) ? $this->vars['username'] : ''; ?>" /></span>
                </div>
                
                <div style="padding: 2px;">
                    <span style="display: inline-table;width: 200px;"><?php echo ( isset( $this->vars['l_password'] ) ) ? $this->vars['l_password'] : ''; ?>:</span>
                    <span style="display: inline-table;"><input class="reg" type="password" name="password" /></span>
                </div>
                
                <div style="padding: 2px;">
                    <span style="display: inline-table;width: 200px;"><?php echo ( isset( $this->vars['l_repassword'] ) ) ? $this->vars['l_repassword'] : ''; ?>:</span>
                    <span style="display: inline-table;"><input class="reg" type="password" name="repassword" /></span>
                </div>
                
                <div style="padding: 2px;">
                    <span style="display: inline-table;width: 200px;"><?php echo ( isset( $this->vars['l_email'] ) ) ? $this->vars['l_email'] : ''; ?>:</span>
                    <span style="display: inline-table;"><input class="reg" type="text" name="email" value="<?php echo ( isset( $this->vars['email'] ) ) ? $this->vars['email'] : ''; ?>" /></span>
                </div>
            </td>
        </tr>
        <?php if( isset( $this->loops_runs['extraFields'] ) ) { ?>
        <tr>
            <td class="ex_sh border_right border_left" colspan="1"><?php echo ( isset( $this->vars['l_extra_fields'] ) ) ? $this->vars['l_extra_fields'] : ''; ?></td>
        </tr>
        <tr>
            <td style="padding: 8px;font-size: 11px;" class="border_left border_right">
        <?php } ?>
        <?php for( $i = 1; $i <= $this->loops_runs['extraFields']; $i++ ) { $loop_extraFields = $this->loops_var['extraFields'][ $i ]; ?>
                <div style="padding: 2px;">
                    <span style="display: inline-table;width: 200px;"><?php echo ( isset( $loop_extraFields['field_name'] ) ) ? $loop_extraFields['field_name'] : ''; ?>:<br /><small style="color: #bbbbbb;"><?php echo ( isset( $loop_extraFields['field_descp'] ) ) ? $loop_extraFields['field_descp'] : ''; ?></small></span>
                    <span style="display: inline-table;"><input class="reg" type="text" name="field_<?php echo ( isset( $loop_extraFields['field_id'] ) ) ? $loop_extraFields['field_id'] : ''; ?>" maxlength="<?php echo ( isset( $loop_extraFields['maxlength'] ) ) ? $loop_extraFields['maxlength'] : ''; ?>" value="<?php echo ( isset( $loop_extraFields['value'] ) ) ? $loop_extraFields['value'] : ''; ?>" /></span>
                </div>
        <?php } ?>
        <?php if( isset( $this->loops_runs['extraFields'] ) ) { ?>
            </td>
        </tr>
        <?php } ?>
        <tr>
            <td class="ex_sh border_right border_left" colspan="1"><?php echo ( isset( $this->vars['l_recaptcha_info'] ) ) ? $this->vars['l_recaptcha_info'] : ''; ?></td>
        </tr>
        <tr>
            <td class="border_right border_left" align="center"><?php echo ( isset( $this->vars['recaptcha'] ) ) ? $this->vars['recaptcha'] : ''; ?></td>
        </tr>
        <tr>
            <td class="ex_sh border_right border_left center_text" colspan="1">
                <input type="submit" value="<?php echo ( isset( $this->vars['l_register'] ) ) ? $this->vars['l_register'] : ''; ?>" name="submit" />
            </td>
        </tr>
        <tr>
            <th colspan="1"></th>
        </tr>
    </table>
    
</form>